package com.jzkj.zsqxkq.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jzkj.zsqxkq.entity.TblMoniSiteChecktime;
import com.jzkj.zsqxkq.entity.custom.TblMoniSiteChecktimeCustom;
import com.jzkj.zsqxkq.mapper.TblMoniSiteChecktimeMapper;
import com.jzkj.zsqxkq.service.ITblMoniSiteChecktimeService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author 周毅
 * @since 2020-07-06
 */
@Service
public class TblMoniSiteChecktimeServiceImpl extends ServiceImpl<TblMoniSiteChecktimeMapper, TblMoniSiteChecktime> implements ITblMoniSiteChecktimeService {


    @Override
    public List<Map<String, Object>> getSiteColAvg(String siteId) {
        return super.baseMapper.selectSiteColAvg(siteId);
    }

    @Override
    public List<Map<String, Object>> getSiteColMax(String dateStr) {
        return baseMapper.selectSiteColMax(dateStr);
    }

    @Override
    public List<TblMoniSiteChecktimeCustom> getSiteCol() {
        return baseMapper.selectChecktimeCustom();
    }
}
